/**
 * 
 */
package com.yuyi.model;

import java.io.Serializable;

/**
 * 访客记录表
 * 
 * @author wxt <br>
 *
 * 2019年4月1日 下午4:15:11
 *
 */
public class VisitorDO implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = 2441432190946536644L;
    
    /**表id*/
    private Integer id;
    
    /**用户ID*/
    private Integer userId;
    
    /**ip地址*/
    private String ip;

    /**请求时间*/
    private Long requestTime;

    /**离开时间*/
    private Long leaveTime;

    /**问题类型ID(客服类型ID)*/
    private Integer kefuTypeId;

    /**用户区域*/
    private String userArea;

    /**消息个数*/
    private Integer tokenum;

    /**客服ID*/
    private Integer kefuId;
    
    /**当进来时设置为1，离开时设置为2*/
    private String remark;

    public VisitorDO() {
        super();
    }

    public VisitorDO(Integer id, Integer userId, String ip, Long requestTime, Long leaveTime, Integer kefuTypeId,
            String userArea, Integer tokenum, Integer kefuId, String remark) {
        super();
        this.id = id;
        this.userId = userId;
        this.ip = ip;
        this.requestTime = requestTime;
        this.leaveTime = leaveTime;
        this.kefuTypeId = kefuTypeId;
        this.userArea = userArea;
        this.tokenum = tokenum;
        this.kefuId = kefuId;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Long requestTime) {
        this.requestTime = requestTime;
    }

    public Long getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Long leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Integer getKefuTypeId() {
        return kefuTypeId;
    }

    public void setKefuTypeId(Integer kefuTypeId) {
        this.kefuTypeId = kefuTypeId;
    }

    public String getUserArea() {
        return userArea;
    }

    public void setUserArea(String userArea) {
        this.userArea = userArea;
    }

    public Integer getTokenum() {
        return tokenum;
    }

    public void setTokenum(Integer tokenum) {
        this.tokenum = tokenum;
    }

    public Integer getKefuId() {
        return kefuId;
    }

    public void setKefuId(Integer kefuId) {
        this.kefuId = kefuId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "VisitorDO [id=" + id + ", userId=" + userId + ", ip=" + ip + ", requestTime=" + requestTime
                + ", leaveTime=" + leaveTime + ", kefuTypeId=" + kefuTypeId + ", userArea=" + userArea + ", tokenum="
                + tokenum + ", kefuId=" + kefuId + ", remark=" + remark + "]";
    }

}
